﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using BulletOnRails4NET.Models;
using System.Web.Mvc;
using System.Data.Linq;

namespace GeneCMS.Models.physical
{
    [Bind(Exclude="id")]
    public partial class Page : CrudModel
    {
        partial void OnValidate(ChangeAction action)
        {
            ValidateBeforeSave();
        }
        public override int GetId()
        {
            return ID;
        }


        public override string GetAsLabel()
        {
            return Title;
        }
    }
}
